
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-qianbao"></i>
                    <div class="name">钱包</div>
                    <div class="fontclass">.icon-qianbao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-back"></i>
                    <div class="name">back</div>
                    <div class="fontclass">.icon-back</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-delete"></i>
                    <div class="name">delete</div>
                    <div class="fontclass">.icon-delete</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-favorite"></i>
                    <div class="name">favorite</div>
                    <div class="fontclass">.icon-favorite</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-less"></i>
                    <div class="name">less</div>
                    <div class="fontclass">.icon-less</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-moreunfold"></i>
                    <div class="name">more_unfold</div>
                    <div class="fontclass">.icon-moreunfold</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-more"></i>
                    <div class="name">more</div>
                    <div class="fontclass">.icon-more</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-refresh"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.icon-refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-payment"></i>
                    <div class="name">付款</div>
                    <div class="fontclass">.icon-payment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuanzhang"></i>
                    <div class="name">转账</div>
                    <div class="fontclass">.icon-zhuanzhang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-erweimazhuanhuan"></i>
                    <div class="name">二维码 [转换]</div>
                    <div class="fontclass">.icon-erweimazhuanhuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shenghuo"></i>
                    <div class="name">生活</div>
                    <div class="fontclass">.icon-shenghuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-erweima"></i>
                    <div class="name">二维码</div>
                    <div class="fontclass">.icon-erweima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhanghu"></i>
                    <div class="name">账户</div>
                    <div class="fontclass">.icon-zhanghu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-licai"></i>
                    <div class="name">理财</div>
                    <div class="fontclass">.icon-licai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mashengzhushou"></i>
                    <div class="name">助手</div>
                    <div class="fontclass">.icon-mashengzhushou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoukuan"></i>
                    <div class="name">付款</div>
                    <div class="fontclass">.icon-shoukuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-licai2"></i>
                    <div class="name">理财 (2)</div>
                    <div class="fontclass">.icon-licai2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaofei"></i>
                    <div class="name">月账单-缴费</div>
                    <div class="fontclass">.icon-jiaofei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhanghu-copy"></i>
                    <div class="name">账户</div>
                    <div class="fontclass">.icon-zhanghu-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye"></i>
                    <div class="name">首页</div>
                    <div class="fontclass">.icon-shouye</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfuzhifuzhi03"></i>
                    <div class="name">钱包</div>
                    <div class="fontclass">.icon-iconfuzhifuzhi03</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jieqian"></i>
                    <div class="name">借钱</div>
                    <div class="fontclass">.icon-jieqian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fukuan"></i>
                    <div class="name">付款</div>
                    <div class="fontclass">.icon-fukuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qianbao1"></i>
                    <div class="name">钱包</div>
                    <div class="fontclass">.icon-qianbao1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode"></i>
                    <div class="name">我的</div>
                    <div class="fontclass">.icon-wode</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuanzhang1"></i>
                    <div class="name">转账</div>
                    <div class="fontclass">.icon-zhuanzhang1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wode-copy"></i>
                    <div class="name">我的</div>
                    <div class="fontclass">.icon-wode-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaofei1"></i>
                    <div class="name">缴费</div>
                    <div class="fontclass">.icon-jiaofei1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huankuan"></i>
                    <div class="name">还款</div>
                    <div class="fontclass">.icon-huankuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhushou"></i>
                    <div class="name">助手</div>
                    <div class="fontclass">.icon-zhushou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qianbao2"></i>
                    <div class="name">钱包</div>
                    <div class="fontclass">.icon-qianbao2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-saoyisao2"></i>
                    <div class="name">扫一扫</div>
                    <div class="fontclass">.icon-saoyisao2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huankuan1"></i>
                    <div class="name">还款</div>
                    <div class="fontclass">.icon-huankuan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaoyijilu"></i>
                    <div class="name">交易记录</div>
                    <div class="fontclass">.icon-jiaoyijilu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouye1"></i>
                    <div class="name">首页 </div>
                    <div class="fontclass">.icon-shouye1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shenghuo1"></i>
                    <div class="name">生活</div>
                    <div class="fontclass">.icon-shenghuo1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaofei2"></i>
                    <div class="name">缴费</div>
                    <div class="fontclass">.icon-jiaofei2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jieqian1"></i>
                    <div class="name">借钱</div>
                    <div class="fontclass">.icon-jieqian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-richscan_icon"></i>
                    <div class="name">扫一扫</div>
                    <div class="fontclass">.icon-richscan_icon</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
